package control.module.vo.authmanage;

import com.fasterxml.jackson.annotation.JsonFormat;
import control.module.po.authmanage.UserRole;

import java.util.Date;

/**
 * User role vo
 *
 * @description:
 * @author: cyj
 * @date 2020 -10-31 17:42:55
 */
public class UserRoleVO extends UserRole {
    /**
     * Create date
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date createDate;

    /**
     * Role name
     */
    private String roleName;

    /**
     * Gets role name *
     *
     * @return the role name
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * Sets role name *
     *
     * @param roleName role name
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    /**
     * To string string
     *
     * @return the string
     */
    @Override
    public String toString() {
        return "UserRoleVO{" +
                "createDate=" + createDate +
                '}';
    }
}
